<script setup lang="ts">
import {ref} from 'vue'
const value=ref('')
</script>

<template>
  <div class="test1">
    <div>test1</div>
    <el-input type="text" v-model="value"></el-input>
  </div>
</template>

<style scoped lang="scss">
.test1{
  position: absolute;
  background: pink;
  height:200px;
  width:50%;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
</style>
